<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格</title>
</head>
<body>
<h4 align="center">创建一个4行4列的表格，其中1-1和1-2合并，colspan=“2”，2-4和3-4合并，3-2，3-3，4-2，4-3合并</h4>
<table border="1" width="500px" cellspacing="0" align="center">
    <tr>
        <td colspan="2">1-1</td>
        <td>1-3</td>
        <td>1-4</td>
    </tr>
    <tr>
        <td>2-1</td>
        <td>2-2</td>
        <td>2-3</td>
        <td rowspan="2">2-4</td>
    </tr>
    <tr>
        <td>3-1</td>
        <td colspan="2" rowspan="2">3-2</td>
    </tr>
    <tr>
        <td>4-1</td>
        <td>4-4</td>
    </tr>
</table>

</body>
</html>